package com.test;

import lombok.Data;

import java.util.Date;
@Data
public class CleanBak {
    Integer ID;
    String OBJECT_NAME;
    String OBJECT_DESC;
    String MODULE_NAME;
    String SOURCE_OBJECT;
    String TARGER_OBJECT;
    String BAK_CONDITION;
    String STATUS;
    String RUN_LOCK;
    Date LASTUPDATETIME;
    String INTERVAL;
    Integer USERID;
    String RUN_CONDITION;
    String OPER_BY;
    Date OPER_TIME;
    String OPER_NO;
    Date LOCK_TIME;
    String USER_NAME;
    String HOST_NAME;
    String RM_BAK_INTERVAL;
    String ALARM_USER;
    String BAK_RULE;
    String db_id;

    //非数据库字段
    Date runTime;
    String sourceName;
    String targetName;
    String tempName;
    String tarName;
    String sourceDir;
    String targetDir;
    String bakConditionTemp;
    String sourceNameByUpdateTime;
    String timeByUpdateTime;

    String nmcBak;
    Date beginTime;
    String rmBakTime;

    public CleanBak() {
    }

    public CleanBak(String sourceName, String targetName, String tempName, String tarName, String sourceDir, String targetDir, String bakConditionTemp, String sourceNameByUpdateTime, String timeByUpdateTime) {
        this.sourceName = sourceName;
        this.targetName = targetName;
        this.tempName = tempName;
        this.tarName = tarName;
        this.sourceDir = sourceDir;
        this.targetDir = targetDir;
        this.bakConditionTemp = bakConditionTemp;
        this.sourceNameByUpdateTime = sourceNameByUpdateTime;
        this.timeByUpdateTime = timeByUpdateTime;
    }
}
